package com.server.questionbank.snframe.mapper.Note;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.server.questionbank.snframe.domain.Note.TNote;

import org.apache.ibatis.annotations.Param;

@Mapper
public interface TNoteMapper extends BaseMapper<TNote> {
     @Select("SELECT * FROM T_note WHERE user_id = #{userId}")
    List<TNote> selectNotesByCourse(@Param("userId") Long userId);
}
